package cn.wyl.pet.service.impl;

import cn.wyl.basic.service.impl.BaseServiceImpl;
import cn.wyl.pet.domain.Pet;
import cn.wyl.pet.domain.PetDetail;
import cn.wyl.pet.mapper.PetDetailMapper;
import cn.wyl.pet.service.PetDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PetDetailServiceImpl extends BaseServiceImpl<PetDetail>  implements PetDetailService {
    @Autowired
    PetDetailMapper petDetailMapper;
    @Override
    public PetDetail loadByPetId(Long petId) {
        return petDetailMapper.loadByPetId(petId);
    }
}
